package com.sanqi.work.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sanqi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sanqi.common.core.domain.BaseEntity;

/**
 * 职场对象 work_workplace
 * 
 * @author duany
 * @date 2025-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("work_workplace")
public class WorkWorkplace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /** 职场名称 */
    @Excel(name = "职场名称")
    @TableField(value="workplace_name")
    private String workplaceName;

    /** 说明 */
    @Excel(name = "说明")
    @TableField(value="workplace_description")
    private String workplaceDescription;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setWorkplaceName(String workplaceName) 
    {
        this.workplaceName = workplaceName;
    }

    public String getWorkplaceName() 
    {
        return workplaceName;
    }

    public void setWorkplaceDescription(String workplaceDescription) 
    {
        this.workplaceDescription = workplaceDescription;
    }

    public String getWorkplaceDescription() 
    {
        return workplaceDescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workplaceName", getWorkplaceName())
            .append("workplaceDescription", getWorkplaceDescription())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
